mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Test fix (bad fix, need to get rid of hardcoded skeleton version)
This commit is contained in:
@@ -1,15 +1,13 @@
|
||||
# encoding: utf-8
|
||||
# module SingleNameSpace.Some.Deep calls itself Deep
|
||||
# from SingleNameSpace, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
|
||||
# by generator 1.135
|
||||
# by generator 1.136
|
||||
# no doc
|
||||
# no imports
|
||||
|
||||
# no functions
|
||||
# classes
|
||||
|
||||
from object import object
|
||||
|
||||
class WeHaveClass(object):
|
||||
""" WeHaveClass() """
|
||||
MyClass = None
|
||||
|
||||
@@ -1,20 +1,16 @@
|
||||
# encoding: utf-8
|
||||
# module SingleNameSpace
|
||||
# from SingleNameSpace, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
|
||||
# by generator 1.135
|
||||
# by generator 1.136
|
||||
# no doc
|
||||
# no imports
|
||||
|
||||
# no functions
|
||||
# classes
|
||||
|
||||
from object import object
|
||||
|
||||
class AnotherClass(object):
|
||||
""" AnotherClass() """
|
||||
|
||||
from object import object
|
||||
|
||||
class MyClass(object):
|
||||
""" MyClass() """
|
||||
|
||||
|
||||
@@ -1,15 +1,13 @@
|
||||
# encoding: utf-8
|
||||
# module com.just.like.java calls itself java
|
||||
# from PythonLibs, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
|
||||
# by generator 1.135
|
||||
# by generator 1.136
|
||||
# no doc
|
||||
# no imports
|
||||
|
||||
# no functions
|
||||
# classes
|
||||
|
||||
from object import object
|
||||
|
||||
class LikeJavaClass(object):
|
||||
""" LikeJavaClass() """
|
||||
def likeJavaInstanceMethod(self, i):
|
||||
|
||||
@@ -121,6 +121,7 @@ class SkeletonTestTask extends PyExecutionFixtureTestTask {
|
||||
|
||||
FileUtil.copy(skeletonFile, new File(myFixture.getTempDirPath(), skeletonFile.getName()));
|
||||
if (myExpectedSkeletonFile != null) {
|
||||
// TODO: Get rid of hardcoded skeleton version
|
||||
myFixture.checkResultByFile(skeletonFile.getName(), myExpectedSkeletonFile, false);
|
||||
}
|
||||
myGeneratedSkeleton = (PyFile)myFixture.configureByFile(skeletonFile.getName());
|
||||
|
||||
Reference in New Issue
Block a user