mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Added test for compltion of PyQt4.QtGui.QPen
This commit is contained in:
@@ -0,0 +1,2 @@
|
||||
class QPen(object):
|
||||
pass
|
||||
@@ -0,0 +1 @@
|
||||
from QPen import QPen
|
||||
@@ -0,0 +1,3 @@
|
||||
from PyQt4 import QtGui
|
||||
|
||||
QtGui.QPen
|
||||
@@ -0,0 +1,3 @@
|
||||
from PyQt4 import QtGui
|
||||
|
||||
QtGui.QP<caret>
|
||||
@@ -29,6 +29,12 @@ public class PyBinaryModuleCompletionTest extends PyTestCase {
|
||||
myFixture.checkResultByFile("completion/pySideImport.after.py");
|
||||
}
|
||||
|
||||
public void testPyQt4Import() {
|
||||
myFixture.configureByFile("completion/pyQt4Import.py");
|
||||
myFixture.completeBasic();
|
||||
myFixture.checkResultByFile("completion/pyQt4Import.after.py");
|
||||
}
|
||||
|
||||
@Override
|
||||
protected LightProjectDescriptor getProjectDescriptor() {
|
||||
return ourDescriptor;
|
||||
|
||||
Reference in New Issue
Block a user