diff --git a/repository/BaselineOfSeaside3.package/BaselineOfSeaside3.class/instance/baselinejavascript..st b/repository/BaselineOfSeaside3.package/BaselineOfSeaside3.class/instance/baselinejavascript..st index 950a0aace..a987f9a71 100644 --- a/repository/BaselineOfSeaside3.package/BaselineOfSeaside3.class/instance/baselinejavascript..st +++ b/repository/BaselineOfSeaside3.package/BaselineOfSeaside3.class/instance/baselinejavascript..st @@ -50,4 +50,8 @@ baselinejavascript: spec package: 'Javascript-Core' with: [ spec includes: #('Javascript-GemStone-Core') ]; package: 'Javascript-GemStone-Core' - with: [ spec requires: #('Javascript-Core') ] ]. \ No newline at end of file + with: [ spec requires: #('Javascript-Core') ]; + package: 'Javascript-Tests-GemStone-Core' + with: [ spec requires: #('Javascript-Tests-Core') ]; + package: 'Javascript-Tests-Core' + with: [ spec includes: #('Javascript-Tests-GemStone-Core') ] ]. diff --git a/repository/Javascript-Tests-GemStone-Core.package/.filetree b/repository/Javascript-Tests-GemStone-Core.package/.filetree new file mode 100644 index 000000000..8998102c2 --- /dev/null +++ b/repository/Javascript-Tests-GemStone-Core.package/.filetree @@ -0,0 +1,4 @@ +{ + "noMethodMetaData" : true, + "separateMethodMetaAndSource" : false, + "useCypressPropertiesFile" : true } diff --git a/repository/Javascript-Tests-GemStone-Core.package/JSStreamTest.extension/instance/testGRUtf8GemStoneCodecStream.st b/repository/Javascript-Tests-GemStone-Core.package/JSStreamTest.extension/instance/testGRUtf8GemStoneCodecStream.st new file mode 100644 index 000000000..68e7145c8 --- /dev/null +++ b/repository/Javascript-Tests-GemStone-Core.package/JSStreamTest.extension/instance/testGRUtf8GemStoneCodecStream.st @@ -0,0 +1,14 @@ +*javascript-tests-gemstone-core +testGRUtf8GemStoneCodecStream + "This test is in response to https://github.com/GsDevKit/Grease/issues/33. + This stream is used for FastCGI and doesn't show in other test cases + due to their user of standard WriteStream instances." + + | actual | + actual := String streamContents: [ :stream | + (GRUtf8GemStoneCodec new encoderFor: stream) + javascript: '' ]. + self + assert: actual + equals: '"\x3Cscript>\x3C/script>"' + diff --git a/repository/Javascript-Tests-GemStone-Core.package/JSStreamTest.extension/properties.json b/repository/Javascript-Tests-GemStone-Core.package/JSStreamTest.extension/properties.json new file mode 100644 index 000000000..eb08167d4 --- /dev/null +++ b/repository/Javascript-Tests-GemStone-Core.package/JSStreamTest.extension/properties.json @@ -0,0 +1,3 @@ +{ + "name" : "JSStreamTest" +} diff --git a/repository/Javascript-Tests-GemStone-Core.package/monticello.meta/initializers.st b/repository/Javascript-Tests-GemStone-Core.package/monticello.meta/initializers.st new file mode 100644 index 000000000..e69de29bb diff --git a/repository/Javascript-Tests-GemStone-Core.package/monticello.meta/package b/repository/Javascript-Tests-GemStone-Core.package/monticello.meta/package new file mode 100644 index 000000000..0aea9958b --- /dev/null +++ b/repository/Javascript-Tests-GemStone-Core.package/monticello.meta/package @@ -0,0 +1 @@ +(name 'Javascript-Tests-GemStone-Core') diff --git a/repository/Javascript-Tests-GemStone-Core.package/properties.json b/repository/Javascript-Tests-GemStone-Core.package/properties.json new file mode 100644 index 000000000..f037444a7 --- /dev/null +++ b/repository/Javascript-Tests-GemStone-Core.package/properties.json @@ -0,0 +1,2 @@ +{ + }