By default, Bugzilla does not search the list of RESOLVED bugs.
You can force it to do so by putting the upper-case word ALL in front of your search query, e.g.: ALL tdelibs
We recommend searching for bugs this way, as you may discover that your bug has already been resolved and fixed in a later release. View | Details | Raw Unified | Return to bug 860
Collapse All | Expand All

(-)tdepim/karm/test/locking.cpp (-1 / +1 lines)
Lines 133-139 Link Here
133
  setenv( "TDEHOME", TQFile::encodeName( TQDir::homeDirPath() + "/.kde-testresource" ), true );
133
  setenv( "TDEHOME", TQFile::encodeName( TQDir::homeDirPath() + "/.kde-testresource" ), true );
134
134
135
  // Copied from Till's test in libkcal.  Not sure what this is for.
135
  // Copied from Till's test in libkcal.  Not sure what this is for.
136
  setenv( "KDE_FORK_SLAVES", "yes", true ); // simpler, for the final cleanup
136
  setenv( "TDE_FORK_SLAVES", "yes", true ); // simpler, for the final cleanup
137
137
138
  // Copied from Till's test in libkcal.  Not sure what this is for.
138
  // Copied from Till's test in libkcal.  Not sure what this is for.
139
  KApplication::disableAutoDcopRegistration();
139
  KApplication::disableAutoDcopRegistration();
(-)tdepim/libkcal/tests/testresource.cpp (-1 / +1 lines)
Lines 57-63 Link Here
57
    // Use another directory than the real one, just to keep things clean
57
    // Use another directory than the real one, just to keep things clean
58
    // TDEHOME needs to be writable though, for a ksycoca database
58
    // TDEHOME needs to be writable though, for a ksycoca database
59
    setenv( "TDEHOME", TQFile::encodeName( TQDir::homeDirPath() + "/.kde-testresource" ), true );
59
    setenv( "TDEHOME", TQFile::encodeName( TQDir::homeDirPath() + "/.kde-testresource" ), true );
60
    setenv( "KDE_FORK_SLAVES", "yes", true ); // simpler, for the final cleanup
60
    setenv( "TDE_FORK_SLAVES", "yes", true ); // simpler, for the final cleanup
61
61
62
    KApplication::disableAutoDcopRegistration();
62
    KApplication::disableAutoDcopRegistration();
63
    KCmdLineArgs::init(argc,argv,"testresource", 0, 0, 0, 0);
63
    KCmdLineArgs::init(argc,argv,"testresource", 0, 0, 0, 0);
(-)tdepim/libtdepim/tests/testdistrlist.cpp (-1 / +1 lines)
Lines 44-50 Link Here
44
    // Use another directory than the real one, just to keep things clean
44
    // Use another directory than the real one, just to keep things clean
45
    // TDEHOME needs to be writable though, for a ksycoca database
45
    // TDEHOME needs to be writable though, for a ksycoca database
46
    setenv( "TDEHOME", TQFile::encodeName( TQDir::homeDirPath() + "/.kde-testdistrlist" ), true );
46
    setenv( "TDEHOME", TQFile::encodeName( TQDir::homeDirPath() + "/.kde-testdistrlist" ), true );
47
    setenv( "KDE_FORK_SLAVES", "yes", true ); // simpler, for the final cleanup
47
    setenv( "TDE_FORK_SLAVES", "yes", true ); // simpler, for the final cleanup
48
48
49
    KApplication::disableAutoDcopRegistration();
49
    KApplication::disableAutoDcopRegistration();
50
    KCmdLineArgs::init(argc,argv,"testdistrlist", 0, 0, 0, 0);
50
    KCmdLineArgs::init(argc,argv,"testdistrlist", 0, 0, 0, 0);
(-)tdepim/certmanager/lib/tests/Makefile.am (-1 / +1 lines)
Lines 1-6 Link Here
1
AM_CPPFLAGS = -I$(top_srcdir)/certmanager/lib \
1
AM_CPPFLAGS = -I$(top_srcdir)/certmanager/lib \
2
	-I$(top_srcdir)/libtdenetwork \
2
	-I$(top_srcdir)/libtdenetwork \
3
	$(GPGME_CFLAGS) $(all_includes) -DKDESRCDIR=\"$(srcdir)\"
3
	$(GPGME_CFLAGS) $(all_includes) -DTDESRCDIR=\"$(srcdir)\"
4
4
5
check_PROGRAMS = test_keylister test_keygen test_keyselectiondialog \
5
check_PROGRAMS = test_keylister test_keygen test_keyselectiondialog \
6
		test_cryptoconfig test_gnupgprocessbase test_jobs test_verify
6
		test_cryptoconfig test_gnupgprocessbase test_jobs test_verify
(-)tdepim/certmanager/lib/tests/test_verify.cpp (-4 / +4 lines)
Lines 49-55 Link Here
49
49
50
int main( int argc, char **argv )
50
int main( int argc, char **argv )
51
{
51
{
52
  setenv("GNUPGHOME", KDESRCDIR "/gnupg_home", 1 );
52
  setenv("GNUPGHOME", TDESRCDIR "/gnupg_home", 1 );
53
  setenv("LC_ALL", "C", 1);
53
  setenv("LC_ALL", "C", 1);
54
  setenv("TDEHOME", TQFile::encodeName( TQDir::homeDirPath() + "/.kde-unit-test" ), 1);
54
  setenv("TDEHOME", TQFile::encodeName( TQDir::homeDirPath() + "/.kde-unit-test" ), 1);
55
55
Lines 57-64 Link Here
57
  KCmdLineArgs::init( argc, argv, &aboutData );
57
  KCmdLineArgs::init( argc, argv, &aboutData );
58
  KApplication app( false, false );
58
  KApplication app( false, false );
59
59
60
  const TQString sigFileName = KDESRCDIR "/test.data.sig";
60
  const TQString sigFileName = TDESRCDIR "/test.data.sig";
61
  const TQString dataFileName = KDESRCDIR "/test.data";
61
  const TQString dataFileName = TDESRCDIR "/test.data";
62
62
63
  TQFile sigFile( sigFileName );
63
  TQFile sigFile( sigFileName );
64
  assert( sigFile.open( IO_ReadOnly ) );
64
  assert( sigFile.open( IO_ReadOnly ) );
Lines 77-83 Link Here
77
  assert( sig.creationTime() == 1189650248L );
77
  assert( sig.creationTime() == 1189650248L );
78
  assert( sig.validity() == GpgME::Signature::Full );
78
  assert( sig.validity() == GpgME::Signature::Full );
79
79
80
  const TQString opaqueFileName = KDESRCDIR "/test.data.gpg";
80
  const TQString opaqueFileName = TDESRCDIR "/test.data.gpg";
81
  TQFile opaqueFile( opaqueFileName );
81
  TQFile opaqueFile( opaqueFileName );
82
  assert( opaqueFile.open( IO_ReadOnly ) );
82
  assert( opaqueFile.open( IO_ReadOnly ) );
83
  TQByteArray clearText;
83
  TQByteArray clearText;
(-)tdepim/kmail/tests/Makefile.am (-1 / +1 lines)
Lines 1-5 Link Here
1
INCLUDES = -I$(top_srcdir)/kmail -I$(top_srcdir)/mimelib $(all_includes)
1
INCLUDES = -I$(top_srcdir)/kmail -I$(top_srcdir)/mimelib $(all_includes)
2
AM_CPPFLAGS = -DKDESRCDIR=\"$(srcdir)\"
2
AM_CPPFLAGS = -DTDESRCDIR=\"$(srcdir)\"
3
METASOURCES = AUTO
3
METASOURCES = AUTO
4
4
5
check_LTLIBRARIES = kunittest_storagelayermodule.la \
5
check_LTLIBRARIES = kunittest_storagelayermodule.la \
(-)tdepim/kmail/tests/mimelibtests.cpp (-2 / +2 lines)
Lines 73-82 Link Here
73
{
73
{
74
  // This multipart-mixed mail has a part that starts without headers;
74
  // This multipart-mixed mail has a part that starts without headers;
75
  // the newline after the (empty) headers must be preserved.
75
  // the newline after the (empty) headers must be preserved.
76
  mMultipartMixedMail = readFile( KDESRCDIR "/multipartmixed.mbox" );
76
  mMultipartMixedMail = readFile( TDESRCDIR "/multipartmixed.mbox" );
77
  // This is the full signed mail which was simplified to above.
77
  // This is the full signed mail which was simplified to above.
78
  // Kept around in case we want to do anything else with a signed mail later :)
78
  // Kept around in case we want to do anything else with a signed mail later :)
79
  mSignedMail = readFile( KDESRCDIR "/signedmail.mbox" );
79
  mSignedMail = readFile( TDESRCDIR "/signedmail.mbox" );
80
}
80
}
81
81
82
void MimeLibTester::tearDown()
82
void MimeLibTester::tearDown()
(-)tdepim/ktnef/tests/Makefile.am (-1 / +1 lines)
Lines 1-4 Link Here
1
AM_CPPFLAGS = -I$(top_srcdir)/ktnef $(all_includes) -DKDESRCDIR=\"$(srcdir)\"
1
AM_CPPFLAGS = -I$(top_srcdir)/ktnef $(all_includes) -DTDESRCDIR=\"$(srcdir)\"
2
LDADD = ../lib/libktnef.la $(LIB_TDECORE)
2
LDADD = ../lib/libktnef.la $(LIB_TDECORE)
3
3
4
check_PROGRAMS = parsertest
4
check_PROGRAMS = parsertest
(-)tdepim/ktnef/tests/parsertest.cpp (-3 / +3 lines)
Lines 28-34 Link Here
28
void ParserTest::testSingleAttachment()
28
void ParserTest::testSingleAttachment()
29
{
29
{
30
  KTNEFParser parser;
30
  KTNEFParser parser;
31
  assert( parser.openFile( KDESRCDIR "/one-file.tnef" ) == true );
31
  assert( parser.openFile( TDESRCDIR "/one-file.tnef" ) == true );
32
32
33
  KTNEFMessage *msg = parser.message();
33
  KTNEFMessage *msg = parser.message();
34
  assert( msg != 0 );
34
  assert( msg != 0 );
Lines 45-51 Link Here
45
void ParserTest::testTwoAttachments()
45
void ParserTest::testTwoAttachments()
46
{
46
{
47
  KTNEFParser parser;
47
  KTNEFParser parser;
48
  assert( parser.openFile( KDESRCDIR "/two-files.tnef" ) == true );
48
  assert( parser.openFile( TDESRCDIR "/two-files.tnef" ) == true );
49
49
50
  KTNEFMessage *msg = parser.message();
50
  KTNEFMessage *msg = parser.message();
51
  assert( msg != 0 );
51
  assert( msg != 0 );
Lines 67-73 Link Here
67
void ParserTest::testMAPIAttachments()
67
void ParserTest::testMAPIAttachments()
68
{
68
{
69
  KTNEFParser parser;
69
  KTNEFParser parser;
70
  assert( parser.openFile( KDESRCDIR "/mapi_attach_data_obj.tnef" ) == true );
70
  assert( parser.openFile( TDESRCDIR "/mapi_attach_data_obj.tnef" ) == true );
71
71
72
  KTNEFMessage *msg = parser.message();
72
  KTNEFMessage *msg = parser.message();
73
  assert( msg != 0 );
73
  assert( msg != 0 );

Return to bug 860