mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-21 06:45:39 -06:00
.autotest (failing)
git-svn-id: svn://ultimatepp.org/upp/trunk@7912 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
fff310d330
commit
5455ea9f1f
3 changed files with 33 additions and 0 deletions
20
autotest/CheckBak/CheckBak.cpp
Normal file
20
autotest/CheckBak/CheckBak.cpp
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
#include <Core/Core.h>
|
||||
|
||||
using namespace Upp;
|
||||
|
||||
CONSOLE_APP_MAIN
|
||||
{
|
||||
String s = Sys("svn info svn://www.ultimatepp.org/bak");
|
||||
DDUMP(s);
|
||||
int q = s.Find("Last Changed Date: ");
|
||||
ASSERT(q >= 0);
|
||||
ScanWwwTime()
|
||||
Last Changed Date: 2014-10-30 01:01:56 +0100 (Ŕt, 30 10 2014)
|
||||
}
|
||||
|
||||
SQL * Update(SETTINGS)
|
||||
(VALUE,
|
||||
Format("%04d-%02d-%02d %02d:%02d:%02d",
|
||||
last.year, last.month, last.day, last.hour, last.minute, last.second))
|
||||
.Where(ID == "LastKeboola");
|
||||
update settings set value = '2014-11-19 00:00:00' where ID = 'LastKeboola'
|
||||
9
autotest/CheckBak/CheckBak.upp
Normal file
9
autotest/CheckBak/CheckBak.upp
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
uses
|
||||
Core;
|
||||
|
||||
file
|
||||
CheckBak.cpp;
|
||||
|
||||
mainconfig
|
||||
"" = "SSE2";
|
||||
|
||||
4
autotest/CheckBak/init
Normal file
4
autotest/CheckBak/init
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
#ifndef _CheckBak_icpp_init_stub
|
||||
#define _CheckBak_icpp_init_stub
|
||||
#include "Core/init"
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue