aboutsummaryrefslogtreecommitdiff
path: root/tests/test-x2go-wrapper.cc
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2013-04-24 18:40:54 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2013-04-24 18:40:54 +0200
commitf0759d14ca2c258b42e1401c9a686da14ed4f06c (patch)
tree5c41789281c987cd133499073addcd393a58bc1c /tests/test-x2go-wrapper.cc
parent7e997b2c3497ad8be857072a9bfb5d77bfca2f8d (diff)
downloadlibpam-x2go-f0759d14ca2c258b42e1401c9a686da14ed4f06c.tar.gz
libpam-x2go-f0759d14ca2c258b42e1401c9a686da14ed4f06c.tar.bz2
libpam-x2go-f0759d14ca2c258b42e1401c9a686da14ed4f06c.zip
Adapt to changes in lightdm-remote-login-x2go (0.0.1.0). Expect a UCCS service that supports session type »x2go».
Diffstat (limited to 'tests/test-x2go-wrapper.cc')
-rw-r--r--tests/test-x2go-wrapper.cc12
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/test-x2go-wrapper.cc b/tests/test-x2go-wrapper.cc
index 24e49c0..a792d3e 100644
--- a/tests/test-x2go-wrapper.cc
+++ b/tests/test-x2go-wrapper.cc
@@ -1,5 +1,5 @@
/*
- * Copyright © 2012 Mike Gabriel <mike.gabriel@das-netzwerkteam.de>.
+ * Copyright © 2012-2013 Mike Gabriel <mike.gabriel@das-netzwerkteam.de>.
* Copyright © 2012 Canonical Ltd. All rights reserved.
*
* Author(s): Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
@@ -23,17 +23,17 @@ const char * auth_check_path = AUTH_CHECK;
namespace {
// The fixture for testing class Foo.
- class PyhocaWrapperTest : public ::testing::Test {
+ class X2GoWrapperTest : public ::testing::Test {
protected:
// You can remove any or all of the following functions if its body
// is empty.
- PyhocaWrapperTest() {
+ X2GoWrapperTest() {
// You can do set-up work for each test here.
setenv("HOME", "/tmp", 1 /* overwrite */);
}
- virtual ~PyhocaWrapperTest() {
+ virtual ~X2GoWrapperTest() {
// You can do clean-up work that doesn't throw exceptions here.
}
@@ -55,12 +55,12 @@ namespace {
// Objects declared here can be used by all tests in the test case for Foo.
};
- TEST_F(PyhocaWrapperTest, canLinkTheWholeGang) {
+ TEST_F(X2GoWrapperTest, canLinkTheWholeGang) {
EXPECT_EQ (1, 1); // right, that's trivial, but that means
// that I got all of the wrapper and pam to link there
}
- TEST_F(PyhocaWrapperTest, canCallPamOpenSession) {
+ TEST_F(X2GoWrapperTest, canCallPamOpenSession) {
const char *argv[] = { NULL };
pam_handle_t *pamh = pam_handle_new ();