Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

20430-Move-kernel-tests-that-use-compiler-to-a-standalone-package #289

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Expand Up @@ -47,6 +47,7 @@ baseline: spec
spec package: 'FuelTests'.
spec package: 'Gofer-Tests'.
spec package: 'Kernel-Tests'.
spec package: 'Kernel-Tests-WithCompiler'.
spec package: 'Manifest-Core'.
spec package: 'Manifest-Resources-Tests'.
spec package: 'Monticello-Tests'.
Expand Down
Expand Up @@ -421,6 +421,7 @@ spec group: 'Kernel-Tests-Group' with: #(
'RPackage-Tests'
'Collections-Tests'
'Kernel-Tests'
'Kernel-Tests-WithCompiler'
'AST-Tests-Core' "requires BlueInk-Core"
'Announcements-Tests-Core'
'Compression-Tests'
Expand Down
5 changes: 5 additions & 0 deletions src/Kernel-Tests-WithCompiler.package/.filetree
@@ -0,0 +1,5 @@
{
"separateMethodMetaAndSource" : false,
"noMethodMetaData" : true,
"useCypressPropertiesFile" : true
}
@@ -1,4 +1,4 @@
tests
*Kernel-Tests-WithCompiler
testCanPerform

| c1 c2 |
Expand Down
@@ -1,4 +1,4 @@
tests
*Kernel-Tests-WithCompiler
testCanUnderstand

| c1 c2 |
Expand Down
@@ -1,4 +1,4 @@
tests
*Kernel-Tests-WithCompiler
testCompile
| behavior |
behavior := Behavior new.
Expand Down
@@ -0,0 +1,3 @@
{
"name" : "BehaviorTest"
}
@@ -1,4 +1,4 @@
testing
*Kernel-Tests-WithCompiler
testChangingShapeDoesNotPutNilInMethodsLastLiteralKey
"Test that when the shape of a class changes, the key of the last literal of the methods is not nil"
| tutu |
Expand Down
@@ -0,0 +1,3 @@
*Kernel-Tests-WithCompiler
testCompileAll
ClassTest compileAll
@@ -1,4 +1,4 @@
testing
*Kernel-Tests-WithCompiler
testPoolVariableAccessibleInClassUser
"This test shows that a Pool Variable is accessible from the class that declare the Pool usage: here the superclass"
"self debug: #testInClassUser"
Expand Down
@@ -1,4 +1,4 @@
testing
*Kernel-Tests-WithCompiler
testPoolVariableAccessibleInSubclassOfClassUser
"This test shows that a Pool Variable is not accessible from a subclass that declare the Pool usage: here SubFlop subclass of Flop and this is a bug. "
"self debug: #testInSubclassOfClassUser"
Expand Down
@@ -0,0 +1,3 @@
{
"name" : "ClassTest"
}
@@ -1,4 +1,4 @@
tests - conversion
*Kernel-Tests-WithCompiler
testCompiledMethodAsString
"self debug: #testCompiledMethodAsString"

Expand Down
@@ -1,4 +1,4 @@
tests - testing
*Kernel-Tests-WithCompiler
testContainsHalt

| annonClass |
Expand Down
@@ -1,4 +1,4 @@
tests - comparing
*Kernel-Tests-WithCompiler
testEqualityClassSideMethod
| method1 method2 |

Expand Down
@@ -1,4 +1,4 @@
tests - comparing
*Kernel-Tests-WithCompiler
testEqualityInstanceSideMethod
| method1 method2 |

Expand Down
@@ -1,4 +1,4 @@
tests - testing
*Kernel-Tests-WithCompiler
testIsInstalled
| method cls |

Expand Down
@@ -1,4 +1,4 @@
tests - accessing
*Kernel-Tests-WithCompiler
testMethodClass
| method cls |
method := self class >> #returnTrue.
Expand Down
@@ -1,4 +1,4 @@
tests - accessing
*Kernel-Tests-WithCompiler
testSelector

Author useAuthor: 'TUTU_TEST' during: [
Expand Down
@@ -0,0 +1,3 @@
{
"name" : "CompiledMethodTest"
}
@@ -1,4 +1,4 @@
tests - ast mapping
*Kernel-Tests-WithCompiler
testSourceNodeOptimizedBlock
"When asking for the sourceNode of a block that is not there at runtime, we nevertheless what to
get the corresponding ASTnode of the inlined Block"
Expand Down
@@ -1,4 +1,4 @@
tests
*Kernel-Tests-WithCompiler
testTempNamed
| oneTemp context |

Expand Down
@@ -1,4 +1,4 @@
tests
*Kernel-Tests-WithCompiler
testTempNamedPut
| oneTemp |

Expand Down
@@ -0,0 +1,3 @@
{
"name" : "ContextTest"
}
@@ -1,4 +1,4 @@
tests
*Kernel-Tests-WithCompiler
testStoring

| expected actual |
Expand Down
@@ -0,0 +1,3 @@
{
"name" : "DateTest"
}
@@ -1,4 +1,4 @@
tests
*Kernel-Tests-WithCompiler
testStoreOn
"If storeOn: prints exactly and the parser avoid cumulating round off Errors,
then Float should be read back exactly.
Expand Down
@@ -0,0 +1,3 @@
{
"name" : "FloatTest"
}
@@ -1,4 +1,4 @@
tests - debugging
*Kernel-Tests-WithCompiler
testHaltOnCount

| anObject |
Expand Down
@@ -0,0 +1,3 @@
{
"name" : "ObjectTest"
}
@@ -1,4 +1,4 @@
tests
*Kernel-Tests-WithCompiler
testStoreOn
"this is http://bugs.squeak.org/view.php?id=4378"

Expand Down
@@ -0,0 +1,3 @@
{
"name" : "ScaledDecimalTest"
}
@@ -1,4 +1,4 @@
tests
*Kernel-Tests-WithCompiler
testObjects
"self debug: #testObjects"

Expand Down
@@ -0,0 +1,3 @@
{
"name" : "SelfEvaluatingObjectTest"
}
@@ -1,4 +1,4 @@
tests - printing
*Kernel-Tests-WithCompiler
testStoreOn
| string |
string := String streamContents: [ :stream | nil storeOn: stream ].
Expand Down
@@ -0,0 +1,3 @@
{
"name" : "UndefinedObjectTest"
}
@@ -0,0 +1 @@
SystemOrganization addCategory: #'Kernel-Tests-WithCompiler'!
Empty file.
@@ -0,0 +1 @@
(name 'Kernel-Tests-WithCompiler')
1 change: 1 addition & 0 deletions src/Kernel-Tests-WithCompiler.package/properties.json
@@ -0,0 +1 @@
{ }

This file was deleted.