mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-15 06:05:58 -06:00
CtrlLib: Minor EditField fix; autotest fixes
This commit is contained in:
parent
2edcbb45a7
commit
e69b3caacc
6 changed files with 10 additions and 22 deletions
|
|
@ -49,7 +49,8 @@ CONSOLE_APP_MAIN
|
|||
ASSERT(d >= GetSysDate() - 1);
|
||||
ASSERT(tm >= GetSysDate() - 1);
|
||||
len = len >> 20;
|
||||
ASSERT(len > 2000 && len < 5800);
|
||||
LOG("backup len (MB): " << len);
|
||||
ASSERT(len > 1500 && len < 5800);
|
||||
|
||||
for(auto dir : Split("/net/nas1/bak;/net/nas/bak;/big/bak;/ssd/bak", ';')) {
|
||||
FileIn in1(fn);
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ CONSOLE_APP_MAIN
|
|||
StdLogSetup(LOG_COUT|LOG_FILE);
|
||||
Vector<int> a, b;
|
||||
for(int i = 0; i < 200000; i++) {
|
||||
if(i % 100000 == 0)
|
||||
if(i % 10000 == 0)
|
||||
LOG(i);
|
||||
int q = Random();
|
||||
a.Add(q);
|
||||
|
|
|
|||
|
|
@ -1,3 +1,5 @@
|
|||
description "#WAIT: 10\377";
|
||||
|
||||
uses
|
||||
Core;
|
||||
|
||||
|
|
|
|||
Binary file not shown.
|
|
@ -424,7 +424,7 @@ public:
|
|||
WithSpin& SetInc(IncType _inc = 1) { inc = _inc; return *this; }
|
||||
DataType GetInc() const { return inc; }
|
||||
|
||||
WithSpin& SetStyle(SpinButtons::Style& s) { style = &s; return *this; }
|
||||
WithSpin& SetStyle(const SpinButtons::Style& s) { style = &s; return *this; }
|
||||
|
||||
WithSpin& OnSides(bool b = true);
|
||||
bool IsOnSides() const { return style->onsides; }
|
||||
|
|
|
|||
|
|
@ -1,5 +1,7 @@
|
|||
#include <CtrlLib/CtrlLib.h>
|
||||
|
||||
// this is for testing TheIDE annotations
|
||||
|
||||
using namespace Upp;
|
||||
/*
|
||||
STRUCT,
|
||||
|
|
@ -66,15 +68,6 @@ struct Struct {
|
|||
|
||||
String Struct::meta_attribute;
|
||||
|
||||
void Struct::Method(String param)
|
||||
{
|
||||
String x;
|
||||
}
|
||||
|
||||
void Struct::Test()
|
||||
{
|
||||
}
|
||||
|
||||
void Struct::ClassMethod(int param)
|
||||
{
|
||||
}
|
||||
|
|
@ -95,12 +88,6 @@ Struct::~Struct()
|
|||
{
|
||||
}
|
||||
|
||||
Struct h;
|
||||
|
||||
void Foo() {
|
||||
h.
|
||||
}
|
||||
|
||||
class Class {
|
||||
int x;
|
||||
|
||||
|
|
@ -117,6 +104,8 @@ struct TemplateFoo {
|
|||
int y;
|
||||
};
|
||||
|
||||
struct Foo { int bar; };
|
||||
|
||||
typedef Foo Typedef;
|
||||
|
||||
using UsingTypedef = Foo;
|
||||
|
|
@ -154,10 +143,6 @@ namespace Namespace {
|
|||
|
||||
String Struct::meta_attribute;
|
||||
|
||||
void Struct::Method(String param)
|
||||
{
|
||||
}
|
||||
|
||||
void Struct::ClassMethod(int param)
|
||||
{
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue