~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to unittests/plugin/authentication_test.cc

  • Committer: Lee Bieber
  • Date: 2010-12-13 18:43:55 UTC
  • mfrom: (1993.3.2 trunk-bug-686773)
  • mto: This revision was merged to the branch mainline in revision 1994.
  • Revision ID: kalebral@gmail.com-20101213184355-tinkj77bvfwwy6ql
Merge Andrew - fix bug 686773: TableFunction::Generator::push() needs assert

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
 
23
23
#include <drizzled/error.h>
24
24
#include <drizzled/plugin/authentication.h>
25
 
#include <drizzled/identifier.h>
 
25
#include <drizzled/security_context.h>
26
26
#include <gtest/gtest.h>
27
27
#include <string>
28
28
 
40
40
class AuthenticationTest : public ::testing::Test
41
41
{
42
42
public:
43
 
  identifier::User::const_shared_ptr sctx;
 
43
  SecurityContext sctx;
44
44
  std::string passwd;
45
45
  AuthenticationStub stub1;
46
46
  AuthenticationStub stub2;
47
47
 
48
48
  AuthenticationTest() :
49
 
    sctx(drizzled::identifier::User::make_shared()),
50
49
    stub1("AuthenticationStub1"),
51
50
    stub2("AuthenticationStub2")
52
 
  {
53
 
  }
 
51
  {}
54
52
  
55
53
  virtual void SetUp ()
56
54
  {