Skip to content

Commit

Permalink
Regenerate validation document.
Browse files Browse the repository at this point in the history
  • Loading branch information
shunter committed Feb 6, 2020
1 parent 03b1e67 commit d277101
Show file tree
Hide file tree
Showing 2 changed files with 87 additions and 0 deletions.
30 changes: 30 additions & 0 deletions DotNet/CesiumLanguageWriterTests/TestGenerateValidationDocument.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1489,6 +1489,11 @@ private void WriteConstantValues()
w2.WriteNumber(13317.0);
m_extensionsAssertionsWriter.WriteLine(" expect(e.conicSensor.environmentIntersectionWidth.getValue(date)).toEqual(13317.0);");
}
using (var w2 = w.OpenShowThroughEllipsoidProperty())
{
w2.WriteBoolean(true);
m_extensionsAssertionsWriter.WriteLine(" expect(e.conicSensor.showThroughEllipsoid.getValue(date)).toEqual(true);");
}
}
using (var w = packet.OpenCustomPatternSensorProperty())
{
Expand Down Expand Up @@ -1627,6 +1632,11 @@ private void WriteConstantValues()
w2.WriteNumber(53576.0);
m_extensionsAssertionsWriter.WriteLine(" expect(e.customPatternSensor.environmentIntersectionWidth.getValue(date)).toEqual(53576.0);");
}
using (var w2 = w.OpenShowThroughEllipsoidProperty())
{
w2.WriteBoolean(true);
m_extensionsAssertionsWriter.WriteLine(" expect(e.customPatternSensor.showThroughEllipsoid.getValue(date)).toEqual(true);");
}
}
using (var w = packet.OpenRectangularSensorProperty())
{
Expand Down Expand Up @@ -1770,6 +1780,11 @@ private void WriteConstantValues()
w2.WriteNumber(64839.0);
m_extensionsAssertionsWriter.WriteLine(" expect(e.rectangularSensor.environmentIntersectionWidth.getValue(date)).toEqual(64839.0);");
}
using (var w2 = w.OpenShowThroughEllipsoidProperty())
{
w2.WriteBoolean(true);
m_extensionsAssertionsWriter.WriteLine(" expect(e.rectangularSensor.showThroughEllipsoid.getValue(date)).toEqual(true);");
}
}
using (var w = packet.OpenFanProperty())
{
Expand Down Expand Up @@ -10401,6 +10416,11 @@ private void WriteReferenceValues()
w2.WriteReference(new Reference("Constant", CreateList("conicSensor", "environmentIntersectionWidth")));
m_extensionsAssertionsWriter.WriteLine(" expect(e.conicSensor.environmentIntersectionWidth.getValue(date)).toEqual(constant.conicSensor.environmentIntersectionWidth.getValue(date));");
}
using (var w2 = w.OpenShowThroughEllipsoidProperty())
{
w2.WriteReference(new Reference("Constant", CreateList("conicSensor", "showThroughEllipsoid")));
m_extensionsAssertionsWriter.WriteLine(" expect(e.conicSensor.showThroughEllipsoid.getValue(date)).toEqual(constant.conicSensor.showThroughEllipsoid.getValue(date));");
}
}
using (var w = packet.OpenCustomPatternSensorProperty())
{
Expand Down Expand Up @@ -10524,6 +10544,11 @@ private void WriteReferenceValues()
w2.WriteReference(new Reference("Constant", CreateList("customPatternSensor", "environmentIntersectionWidth")));
m_extensionsAssertionsWriter.WriteLine(" expect(e.customPatternSensor.environmentIntersectionWidth.getValue(date)).toEqual(constant.customPatternSensor.environmentIntersectionWidth.getValue(date));");
}
using (var w2 = w.OpenShowThroughEllipsoidProperty())
{
w2.WriteReference(new Reference("Constant", CreateList("customPatternSensor", "showThroughEllipsoid")));
m_extensionsAssertionsWriter.WriteLine(" expect(e.customPatternSensor.showThroughEllipsoid.getValue(date)).toEqual(constant.customPatternSensor.showThroughEllipsoid.getValue(date));");
}
}
using (var w = packet.OpenRectangularSensorProperty())
{
Expand Down Expand Up @@ -10657,6 +10682,11 @@ private void WriteReferenceValues()
w2.WriteReference(new Reference("Constant", CreateList("rectangularSensor", "environmentIntersectionWidth")));
m_extensionsAssertionsWriter.WriteLine(" expect(e.rectangularSensor.environmentIntersectionWidth.getValue(date)).toEqual(constant.rectangularSensor.environmentIntersectionWidth.getValue(date));");
}
using (var w2 = w.OpenShowThroughEllipsoidProperty())
{
w2.WriteReference(new Reference("Constant", CreateList("rectangularSensor", "showThroughEllipsoid")));
m_extensionsAssertionsWriter.WriteLine(" expect(e.rectangularSensor.showThroughEllipsoid.getValue(date)).toEqual(constant.rectangularSensor.showThroughEllipsoid.getValue(date));");
}
}
using (var w = packet.OpenFanProperty())
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2750,6 +2750,15 @@ private final void writeConstantValues() {
DisposeHelper.dispose(w2);
}
}
{
BooleanCesiumWriter w2 = w.openShowThroughEllipsoidProperty();
try {
w2.writeBoolean(true);
TextWriterHelper.writeLine(m_extensionsAssertionsWriter, " expect(e.conicSensor.showThroughEllipsoid.getValue(date)).toEqual(true);");
} finally {
DisposeHelper.dispose(w2);
}
}
} finally {
DisposeHelper.dispose(w);
}
Expand Down Expand Up @@ -3025,6 +3034,15 @@ private final void writeConstantValues() {
DisposeHelper.dispose(w2);
}
}
{
BooleanCesiumWriter w2 = w.openShowThroughEllipsoidProperty();
try {
w2.writeBoolean(true);
TextWriterHelper.writeLine(m_extensionsAssertionsWriter, " expect(e.customPatternSensor.showThroughEllipsoid.getValue(date)).toEqual(true);");
} finally {
DisposeHelper.dispose(w2);
}
}
} finally {
DisposeHelper.dispose(w);
}
Expand Down Expand Up @@ -3308,6 +3326,15 @@ private final void writeConstantValues() {
DisposeHelper.dispose(w2);
}
}
{
BooleanCesiumWriter w2 = w.openShowThroughEllipsoidProperty();
try {
w2.writeBoolean(true);
TextWriterHelper.writeLine(m_extensionsAssertionsWriter, " expect(e.rectangularSensor.showThroughEllipsoid.getValue(date)).toEqual(true);");
} finally {
DisposeHelper.dispose(w2);
}
}
} finally {
DisposeHelper.dispose(w);
}
Expand Down Expand Up @@ -24716,6 +24743,16 @@ private final void writeReferenceValues() {
DisposeHelper.dispose(w2);
}
}
{
BooleanCesiumWriter w2 = w.openShowThroughEllipsoidProperty();
try {
w2.writeReference(new Reference("Constant", TestGenerateValidationDocument.<String> createList("conicSensor", "showThroughEllipsoid")));
TextWriterHelper.writeLine(m_extensionsAssertionsWriter,
" expect(e.conicSensor.showThroughEllipsoid.getValue(date)).toEqual(constant.conicSensor.showThroughEllipsoid.getValue(date));");
} finally {
DisposeHelper.dispose(w2);
}
}
} finally {
DisposeHelper.dispose(w);
}
Expand Down Expand Up @@ -25002,6 +25039,16 @@ private final void writeReferenceValues() {
DisposeHelper.dispose(w2);
}
}
{
BooleanCesiumWriter w2 = w.openShowThroughEllipsoidProperty();
try {
w2.writeReference(new Reference("Constant", TestGenerateValidationDocument.<String> createList("customPatternSensor", "showThroughEllipsoid")));
TextWriterHelper.writeLine(m_extensionsAssertionsWriter,
" expect(e.customPatternSensor.showThroughEllipsoid.getValue(date)).toEqual(constant.customPatternSensor.showThroughEllipsoid.getValue(date));");
} finally {
DisposeHelper.dispose(w2);
}
}
} finally {
DisposeHelper.dispose(w);
}
Expand Down Expand Up @@ -25304,6 +25351,16 @@ private final void writeReferenceValues() {
DisposeHelper.dispose(w2);
}
}
{
BooleanCesiumWriter w2 = w.openShowThroughEllipsoidProperty();
try {
w2.writeReference(new Reference("Constant", TestGenerateValidationDocument.<String> createList("rectangularSensor", "showThroughEllipsoid")));
TextWriterHelper.writeLine(m_extensionsAssertionsWriter,
" expect(e.rectangularSensor.showThroughEllipsoid.getValue(date)).toEqual(constant.rectangularSensor.showThroughEllipsoid.getValue(date));");
} finally {
DisposeHelper.dispose(w2);
}
}
} finally {
DisposeHelper.dispose(w);
}
Expand Down

0 comments on commit d277101

Please sign in to comment.