Home
last modified time | relevance | path

Searched refs:log_data (Results 1 – 14 of 14) sorted by relevance

/glogg/glogg/tests/
H A DlogdataTest.cpp
H A DlogdataPerfTest.cpp
H A DlogfiltereddataTest.cpp
/glogg/tests/
H A DlogdataTest.cpp30 LogData log_data; in TEST_F() local
32 SafeQSignalSpy finishedSpy( &log_data, SIGNAL( loadingFinished( LoadingStatus ) ) ); in TEST_F()
33 SafeQSignalSpy progressSpy( &log_data, SIGNAL( loadingProgressed( int ) ) ); in TEST_F()
34 SafeQSignalSpy changedSpy( &log_data, in TEST_F()
48 log_data.attachFile( TMPDIR "/changingfile.txt" ); in TEST_F()
55 ASSERT_THAT( log_data.getNbLine(), 200LL ); in TEST_F()
56 ASSERT_THAT( log_data.getMaxLength(), SL_LINE_LENGTH ); in TEST_F()
57 ASSERT_THAT( log_data.getFileSize(), 200 * (SL_LINE_LENGTH+1LL) ); in TEST_F()
76 ASSERT_THAT( log_data.getNbLine(), 401LL ); in TEST_F()
77 ASSERT_THAT( log_data.getMaxLength(), SL_LINE_LENGTH ); in TEST_F()
[all …]
H A DlogdataPerfTest.cpp47 LogData log_data; in TEST_F() local
48 QSignalSpy progressSpy( &log_data, SIGNAL( loadingProgressed( int ) ) ); in TEST_F()
49 QSignalSpy endSpy( &log_data, SIGNAL( loadingFinished( LoadingStatus ) ) ); in TEST_F()
54 log_data.attachFile( TMPDIR "/verybiglog.txt" ); in TEST_F()
58 ASSERT_THAT( log_data.getNbLine(), VBL_NB_LINES ); in TEST_F()
59 ASSERT_THAT( log_data.getMaxLength(), VBL_VISIBLE_LINE_LENGTH ); in TEST_F()
60 ASSERT_THAT( log_data.getLineLength( 123 ), VBL_VISIBLE_LINE_LENGTH ); in TEST_F()
61 ASSERT_THAT( log_data.getFileSize(), VBL_NB_LINES * (VBL_LINE_LENGTH+1LL) ); in TEST_F()
64 ASSERT_THAT( progressSpy.count(), log_data.getFileSize() / (5LL*1024*1024) + 2 ); in TEST_F()
73 PerfLogDataRead() : PerfLogData(), log_data(), endSpy( in PerfLogDataRead()
[all …]
H A DlogfiltereddataTest.cpp21 LogData log_data; member in MarksBehaviour
25 MarksBehaviour() : endSpy( &log_data, SIGNAL( loadingFinished( LoadingStatus ) ) ) { in MarksBehaviour()
28 log_data.attachFile( TMPDIR "/smalllog.txt" ); in MarksBehaviour()
31 filtered_data = log_data.getNewFilteredData(); in MarksBehaviour()
/glogg/glogg/src/
H A Dviewinterface.h
H A Dsession.cpp
H A Dcrawlerwidget.h
H A Dcrawlerwidget.cpp
/glogg/src/
H A Dviewinterface.h47 void setData( std::shared_ptr<LogData> log_data, in setData() argument
49 { doSetData( log_data, filtered_data ); } in setData()
71 virtual void doSetData( std::shared_ptr<LogData> log_data,
H A Dsession.cpp179 auto log_data = std::make_shared<LogData>(); in openAlways() local
181 std::shared_ptr<LogFilteredData>( log_data->getNewFilteredData() ); in openAlways()
184 view->setData( log_data, log_filtered_data ); in openAlways()
194 log_data, in openAlways()
199 log_data->attachFile( QString( file_name.c_str() ) ); in openAlways()
H A Dcrawlerwidget.h93 std::shared_ptr<LogData> log_data,
H A Dcrawlerwidget.cpp220 std::shared_ptr<LogData> log_data, in doSetData() argument
223 logData_ = log_data.get(); in doSetData()